{# src/Asiah/SiklusBundle/Resources/views/User/login.html.twig #}
{% extends 'AsiahSiklusBundle::main.html.twig' %}

{% block title %}Halaman utama{% endblock %}
{% block stylesheet %}
{% endblock %}
{% block body %}
{% if error %}
<div>
	{{ error.message }}
</div>
{% endif %}
<form action="{{ path('login_check') }}" method="post">
	<div>
		<label for="username">Username:</label>
		<input type="text" id="username" name="_username" value="{{ last_username }}" />
	</div>
	<div>
		<label for="password">Password:</label>
		<input type="password" id="password" name="_password" />
	</div>
	<input type="submit" value="Login" name="login" />
</form>
Click <a href="{{path('register')}}">here</a> to register.
{% endblock %}
